package com.scu.phototab.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * Created by tianfei on 2017/5/18.
 */
@Controller
@RequestMapping(value = "/web")
public class WebPageController {


    @RequestMapping(value = "/newpass",method = RequestMethod.GET)
    public String getNewFormPassword(){
        return "newpassword";
    }

    @RequestMapping(value = "/success",method = RequestMethod.GET)
    public String showSuccessPage(){
        return "success";
    }

}
